chore(poda): build mínimo para el CLI npx (/env) — deprecar cloud upstream reversible#14
Merged
Conversation
…_deprecated - Mueve wrangler.jsonc, open-next.config.ts, Dockerfile, .dockerignore a _deprecated/cloudflare-deploy/ - Saca scripts preview/deploy y devDeps @opennextjs/cloudflare + wrangler - El release npm no usa Cloudflare; reversible (ver _deprecated/README.md)
…d del tsconfig - list.tsx: saca import/registro/grupo de CloudflareAgentDriver (assistant queda BYO) - mueve src/drivers/agent/cloudflare.ts a _deprecated/ - tsconfig: exclude _deprecated (typecheck 0 errores)
- env-driver/database-url/sql-editor/build-table-result/fork-studio: cortan ramas
dynamodb con marcadores // DEPRECATED: dynamodb (codigo muerto reversible)
- base-driver: SupportedDialect conserva 'dynamodb' para no cascadear tipos
- mueve proxy/dynamodb, dynamodb-credentials(+test), drivers/dynamodb/* a _deprecated
- saca @aws-sdk/{client,lib,util}-dynamodb de dependencies (sin importadores en src)
- NOTA: helpers.ts (lastre) queda con import colgado; se resuelve en el move de lastre
- Mueve 224 archivos lastre (rutas (outerbase)/(dark-only)/(public)/(theme) extras, storybook, board/chart/orbit-extras/mdx/picker, outerbase-cloud, extensions cloud, drivers de nicho, dynamodb-queryable, indexdb, etc.) a _deprecated/ preservando estructura - Mantiene KEEP: orbit base, resource-card/icon, local-setting-dialog, window.d.ts (ambient), api/events, tests de modulos KEEP, sqlite functions/*.md - Agrega src/app/page.tsx (redirect / -> /env) - Saca echarts, react-grid-layout, react-color (+@types) de dependencies - Mueve eslint-plugin-jest a devDependencies - jest: ignora _deprecated; database-url.test: dynamodb ahora scheme no soportado - typecheck + lint + jest verdes
…AL verde - Mueve docs/*.mdx y storybook/*.mdx (rutas cuyos componentes ya se movieron) - Mueve board-style.css y signin/styles.css huerfanos - next build FORK_LOCAL=1 compila; arbol de rutas = solo KEEP (/, /env, api/*, proxy/db)
…ltas) La poda (sacar wrangler/@opennextjs/cloudflare/@aws-sdk) eliminó las advisories transitivas de form-data, lodash, ws, flatted, minimatch, picomatch. audit:gate OK.
….config - next.config: quita withMDX y pageExtension mdx (no quedan .mdx en src) - deps: saca @next/mdx, @mdx-js/loader, @mdx-js/react, @types/mdx - devDeps: saca shiki y @types/sql.js (sin importadores en src) - showdown se mantiene (lo usa build-dialect.js). Reinstall+typecheck+lint+jest+build verdes - node_modules ~605MB (desde 1.1GB)
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Poda del build para el CLI
npx(flujo /env)Deja en el build solo lo que necesita
npx quick-outerbase(/env) y deprecá de formareversible toda la maquinaria cloud del upstream. Nada borrado: todo movido a
_deprecated/(Next la ignora) + excluido de
tsconfig/jest. Reversión documentada en_deprecated/README.md.Qué sale del build
wrangler,@opennextjs/cloudflare// DEPRECATED: dynamodb) +@aws-sdk/*×3(outerbase)/(dark-only)/(public)/(theme)extras, storybook;componentes board/chart/orbit-extras/mdx/picker;
outerbase-cloud; extensions cloud; drivers de nichoecharts,react-grid-layout,react-color, grupomdx,shiki(+ varios @types)eslint-plugin-jest→ devDependenciesMétricas
/,/env,api/{env-database,events,local-mode},proxy/dbVerificación
Notas
pgKEEP intacto(import dinámico en
proxy/db) y parse cubierto por jest.